package com.punai.dataanalysis.other.mapper;

import com.punai.dataanalysis.cblib.bo.CbIndicatorDetailBo;
import com.punai.dataanalysis.srlib.bo.SrIndicatorDetailBo;
import com.punai.standard.domain.StaClChapter;
import com.punai.standard.domain.StaFbChapter;
import com.punai.standard.domain.StaGxChapter;
import com.punai.standard.domain.StaJxChapter;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;
import java.util.Map;

public interface OtherModuleMapper {

    @MapKey("deptId")
    List<Map<String,Object>> selectDeptIdName(@Param("deptIds") Collection<String> deptIds);

    List<StaJxChapter> getJxChildByPid(@Param("pid") String chapterId, @Param("versionId") String versionId);

    List<StaClChapter> getClChildByPid(@Param("pid")String chapterId, @Param("versionId") String versionId);

    List<StaGxChapter> getChildByPid(@Param("pid") String pid,@Param("versionId") String versionId);

    List<StaFbChapter> getFbChildByPid(@Param("pid") String pid, @Param("versionId") String versionId);

    List<SrIndicatorDetailBo> selectBos(@Param("structId") String structId,@Param("indicatorId")  String indicatorId);

    List<CbIndicatorDetailBo> selectCbBos(@Param("structId") String structId, @Param("indicatorId")  String indicatorId);
}
